package org.exp3;

public class SC {
    private int stuid;
    private int couid;
    private Float grade;

    public SC(int stuid, int couid, float grade) {
        this.stuid = stuid;
        this.couid = couid;
        this.grade = grade;
    }

    public int getStuid() {
        return stuid;
    }

    public void setStuid(int stuid) {
        this.stuid = stuid;
    }

    public int getCouid() {
        return couid;
    }

    public void setCouid(int couid) {
        this.couid = couid;
    }

    public Float getGrade() {
        return grade;
    }

    public void setGrade(Float grade) {
        this.grade = grade;
    }

    public String toString() {
        return stuid + ' '
                + couid + ' '
                + grade.toString() + ' ';
    }
}
